import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import './styles/index.scss'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import 'virtual:svg-icons-register'
import router from './router'
import pinia from './store'
import './progress'
import 'element-plus/theme-chalk/dark/css-vars.css'

//引入自定义插件对象，注册整个项目组件
import globalComponents from './components'


const app = createApp(App)
//安装自定义插件
app.use(globalComponents).use(router).use(pinia)
app.use(ElementPlus, {
  locale: zhCn,
}).mount('#app')


